#	Copyright (C) 2009 Salil Bhagurkar

SOURCES=arch/mboot.o test.o

CC=gcc
CFLAGS=-c -nostdlib -nostdinc -fno-builtin -I ../../include -fleading-underscore -O0
LDFLAGS=-Tlink.txt
ASFLAGS=-faout

all: link


link: $(SOURCES)
	ld $(LDFLAGS) -o testmod $(SOURCES)

.s.o:
	nasm $(ASFLAGS) $<
